﻿using _111.Models;
using MyDapperApi.Models;
using QYWXUpdate.DataModel;
using QYWXUpdate.DataModel.CheckInfo;
using QYWXUpdate.DataModel.QYWXDocument;

namespace MyDapperApi.Services;

public interface INetDocumentService
{
    Task<CommonResponse> GetDocumentInfo(GetDocumentInfoRequest request);
    Task<CommonResponse> AddDocument(AddDocumentRequest request);
    Task<CommonResponse> PagingDocument(PagingDocumentRequest request);
    Task<CommonResponse> DeleteDocument(IdRequest request);
    Task<CommonResponse> GetDocAuthDetail(IdRequest request);
    Task<CommonResponse> SelectSaveRecordChangeType(string SheetId, string RecordId, string ChangeType);
    Task<CommonResponse> InsertDocument<T>(InsertDocumentRequest<T> request);
    Task<CommonResponse> UpdateDocument<T>(UpdateDocumentRequest<T> request);
    Task<CommonResponse> ChangeAdmin(ChangeDocumentAdminRequest request, int type);
}